﻿<%@ Page Title="" Language="C#" MasterPageFile="/Common/Master.master" %>

<script runat="server">

</script>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentForm" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentHtml" runat="Server">
    <div class="easyui-layout tableEdit" data-options="fit:true,border:false">
        <div data-options="region:'center',border:false">
           <div class="z_wrap">
                <ul class="info">
					<li>
                                        <em class='l_name'>部门ID：</em>
                                        <div class='r_con' id='dept_id'></div></li><li>
                                        <em class='l_name'>部门名称：</em>
                                        <div class='r_con' id='name'></div></li><li>
                                        <em class='l_name'>父级部门ID：</em>
                                        <div class='r_con' id='parent_id'></div></li><li>
                                        <em class='l_name'>部门唯一标识：</em>
                                        <div class='r_con' id='source_identifier'></div></li><li>
                                        <em class='l_name'>排序：</em>
                                        <div class='r_con' id='parent_order'></div></li><li>
                                        <em class='l_name'>：</em>
                                        <div class='r_con' id='AddTime'></div></li><li>
                                        <em class='l_name'>：</em>
                                        <div class='r_con' id='OrgID'></div></li>
				</ul>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(function () {
            if ($.getUrlParamer("guid") != "") {
                DataBind();
            }
        });

        function DataBind() {
            $.InvokeAjax({
                url: "Api/V1/dd_dep/Getdep",
                data: { ID: $.getUrlParamer("guid") },
                callBack: function (data) {
                    var obj = $.StrToJson(data).Results;

                    $.SetValue("ID", obj.ID);
$.SetValue("dept_id", obj.dept_id);
$.SetValue("name", obj.name);
$.SetValue("parent_id", obj.parent_id);
$.SetValue("source_identifier", obj.source_identifier);
$.SetValue("parent_order", obj.parent_order);
$.SetValue("AddUserID", obj.AddUserID);
$.SetValue("AddTime", obj.AddTime);
$.SetValue("OrgLevels", obj.OrgLevels);
$.SetValue("OrgID", obj.OrgID);

                }
            });
        } 
    </script>
</asp:Content>